package 外观模式.股民炒股.demo;

/**
 * @author zyl
 * @Description
 * @since 2024/1/4 10:49
 */

public class Facade {
    SSOne one;
    SSTwo two;
    SSThree three;
    SSFour four;

    public Facade() {
        one = new SSOne();
        two = new SSTwo();
        three = new SSThree();
        four = new SSFour();
    }
    public void methodA(){
        one.methodOne();
        three.methodThree();
    }
    public void methodB(){
        two.methodTwo();
        four.methodFour();
    }
}
